﻿package com.fandy.struts.DAL;

import java.sql.ResultSet;

import com.fandy.struts.SqlAccess.SqlServerHelper;
import com.fandy.struts.SqlStatement.providegoods;


public class DALProvidegoods {
 
	SqlServerHelper ssh = new SqlServerHelper(); 
	providegoods pg = new providegoods();
	
	public   ResultSet  getAll()
	{
		return   ssh.executeScalar(pg.getAll());
	}
	
	public   ResultSet getUserInfoByID(int goodsID)
	{
		return  ssh.executeScalar(pg.getAllInfoByGoodsID(goodsID));
	}
	
	
		
}

